package com.shop.technicalservice.dao.role;

import java.util.List;

import com.shop.technicalservice.model.role.Roles;

public interface RolesDao {
	
	public Roles save(Roles transientInstance) throws Exception;
	
	public void delete(Roles persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Roles merge(Roles detachedInstance) throws Exception;
	
	public Roles findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Roles instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Roles instance)  throws Exception;
	
	public void attachClean(Roles instance)  throws Exception;
	
	public List findByRoleName(Object roleName)  throws Exception;
	
	
}
